function rest=test2(R,sig,t)

rest=R(t)+sig(t);
end
